﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Data
{
    [Serializable]
    public class AccountInfo
    {
        public SlotInfo[] Slots;
        public TimeSpan TotalPlayTime
        {
            get
            {
                TimeSpan ts = new TimeSpan(0);
                foreach (SlotInfo slot in Slots)
                {
                    ts += slot.PlayTime;
                }
                return ts;
            }
        }

        public decimal Points;
    }
}
